<template>
  <div class="form-home-header">
    <div class="header-left">
      <span class="header-logo">{{ $t(`menu.luoshu`) }}</span>
      <span class="header-title">{{ $t(`menu.pass`) }}</span>
    </div>
    <div class="header-right">
      <Userinfo />
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import Userinfo from '@/components/common/Userinfo.vue';

export default defineComponent({
  name: 'FormHomeHeader',
  components: {
    Userinfo,
  },
  setup() {
    return {};
  },
});
</script>

<style lang="less" scoped>
.form-home-header {
  .flexRow();
  padding: 0 32px;
  height: 48px;
  line-height: 48px;
  background-color: @rb-primary-color;
  color: @rb-text-color-light;
  z-index: 2;
  .header-left {
    .flexRow();
    .header-logo {
      font-family: cursive;
      font-size: 22px;
      padding-right: 16px;
    }
  }
  .header-right {
    .flexRow();
  }
}
</style>
